addresses = [
    '5412 N CLARK',
    '5148 N CLARK',
    '5800 E 58TH',
    '2122 N CLARK',
    '5645 N RAVENSWOOD',
    '1060 W ADDISON',
    '4801 N BROADWAY',
    '1039 W GRANVILLE',
]
counts = [ 0, 3, 10, 4, 1, 7, 6, 1]

## 找出对应 count 值大于 5 的地址全部输出

from itertools import compress

more5 = [n > 5 for n in counts ]
print(more5)

print("================================")
result = list(compress(addresses,more5))
for i in result:
    print(i)
